import Vuex from 'vuex';
import Vue from 'vue';

import base from './modules/base';
import patient from "./modules/patient";
import labReport from "./modules/labReport";
import enc from "./modules/enc";
import bundle from "./modules/bundle";
import procedureRequest from "./modules/procedureRequest";
import medication from './modules/medication'
import procedure from './modules/procedure'

Vue.use(Vuex);

const debug = process.env.NODE_ENV !== 'production';

export default new Vuex.Store({
  strict: debug,
  modules: {
    base,
    patient,
    enc,
    labReport,
    bundle,
    procedureRequest,
    medication,
    procedure
  }
});
